package com.mlog.njyjy.ndop.share.sql.annotation;

import java.lang.annotation.*;

/**
 * <p>
 * .
 * </p>
 *
 * @author <a href="mailto:yingxiufeng@mlogcn.com">alex</a>
 * @version v1.0, 2020/7/10
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Id {

    /**
     * id length
     * 默认0 表示使用默认的数据类型宽度
     * 即:
     * - int = 11
     * - bigint = 20
     * @return
     */
    int length() default 0;
}
